//
//  Shape.h
//  桥接模式
//
//  Created by flannery on 2018/12/19.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <Foundation/Foundation.h>
@class DrawAPI;

NS_ASSUME_NONNULL_BEGIN

@interface Shape : NSObject
@property (nonatomic, strong) DrawAPI *drawAPI;
-(instancetype)initWithDrawAPI:(DrawAPI*)drawAPI;
-(void)draw;
@end

@interface Circle : Shape

-(instancetype)initWithX:(int)x Y:(int)y radius:(int)radius drawAPI:(DrawAPI*)drawAPI;
@end


NS_ASSUME_NONNULL_END
